import { get } from '@/utils/operate'

const baseURL = '/api/search'

// 获取首页数据
export const getHomeData = () => {
    return get(`${baseURL}/index`)
}

export const bannerList = () => {
  return get('/api/product/banner')
}